package com.gzk.hrm.page;

import com.gzk.hrm.result.AggResult;
import com.gzk.hrm.util.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
public class AggPageList<T> extends PageList<T> {

    private Map<String,List<AggResult>> aggResult;

        //提供有参构造方法，方便测试
    public AggPageList(long total, List<T> rows,Map<String,List<AggResult>> aggResult) {
           super(total,rows);
           this.aggResult = aggResult;
    }
}
